﻿#region references
using System;
#endregion

/*
 * UserControl that is used whenever an error occures on the website and the error
 * needs to be showed to the user.
 * 
 * The attribute _labelText can be set with the error message.
 * The attribute _pnlVisibility can be set for visibility for the Panel containing the error message.
 */ 
public partial class usercontrols_Error : System.Web.UI.UserControl
{
    #region public attributes
    public string _labelText
    {
        set { lblGameError.Text = value; }
    }

    public bool _pnlVisibility
    {
        set { pnlErrors.Visible = value; }
    }
    #endregion

    protected void Page_Load(object sender, EventArgs e)
    {

    }
}
